package summary;

/**
 * @Author: 海琳琦
 * @Date: 2022/3/9 22:16
 */
public class Title344 {

    public void reverseString(char[] s) {
        char c;
        for (int i = 0; i < s.length / 2; i++) {
            c = s[i];
            s[i] = s[s.length - 1 - i];
            s[s.length - 1 - i] = c;
        }
    }

    public static void main(String[] args) {

    }
}
